IF EXISTS (SELECT * FROM sys.objects WHERE name = 'GetPasswordByUserName' AND type = 'P')
    DROP PROCEDURE dbo.GetPasswordByUserName
GO
CREATE PROCEDURE dbo.GetPasswordByUserName
  @UserName nvarchar(128)
AS
    select * from dbo.Password where UserName = @UserName
GO